|
|
<DIV id=list>5 j3 b4 j' F$ A) q
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>5 W5 y/ X j. \8 I2 k, w
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
& z2 m+ \- L E$ [<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
# b1 V2 K9 m( | \7 H2 [& _. G<DIV id=lrc3 style="COLOR: #666666"></DIV>3 [. A- \: ~" l. y4 ?: X
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>1 s4 N# q9 C. s1 l& P
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>$ m$ q' C; {: k
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
( j7 J9 s9 N; h% k+ q<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
8 g) M# {" Y( Y; Y) w<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>5 X2 o5 s8 I( x! {4 V3 E n
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>+ s$ A* ^; h: R: E& B- i
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
0 B$ G* `+ l; h$ i( ?<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
5 x/ D w, ^. _4 r0 \ u. b<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>* P& X7 _. Q8 P1 {) j
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
3 H5 A! a9 m4 b9 h* t% J<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
& x" s- w0 X4 h8 [$ ~0 J<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>& D6 {) Z8 d0 m0 z
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>! O4 e% g; s) C b
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>0 ^- S- _" o3 i2 J) Q: r
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>) {- O5 l ?0 E; N" p- M' g
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
( e Y- }: }. Y9 a# g7 [7 g1 Z8 `" X( e<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV># d4 k5 B2 c' d p
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>- X# ~5 \& ]) v$ [6 X3 E! J
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
6 F) G! r6 a0 b# l! K3 G<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
3 ^% g3 R- e! B+ A6 y<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>' F1 ]0 O9 c! f4 R
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>7 ^2 X* k% m" u D. X J; S- X
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>$ j4 p* _& ^* j
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
5 e# P- F) \/ ~7 @+ H8 g<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV> Z1 X; L: v, q. n/ V1 T" A* w* S
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>1 |/ K! ?7 t! `( Q' u
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>0 |# u, T3 E6 O5 S! V$ h
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
% \0 P6 W5 `4 p" x/ o<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>1 A& S9 }5 H; a9 }5 h9 `$ Y$ l
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>( O Q6 q9 f6 @3 ^; \. G
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>1 I1 `0 z9 v0 R; _ _( c. |* g
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
2 _8 b4 Y) L+ D. {4 |9 W<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>6 Y( A, Y: a3 A# T. r
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>% u1 r2 A( b- a1 e( f% E: ~
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>3 I h" V _( y, f" ~$ J3 n/ y
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
! U7 T% W7 J' F% b<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV># |0 s( q' A6 m0 H2 H- t/ o' H
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>+ ~" B0 N% W2 M/ F0 K. w1 _ F% N
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
, j$ M6 C& s+ V<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>1 T0 k/ v1 {& X6 P6 G1 `
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>: t# ]: m; H5 K5 Q
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
9 }6 R# z" D2 ?7 S; p6 @<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV># r7 |; F9 P: ?) ^1 G
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
2 d7 j4 X& Y5 Q( f) t<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>. C7 j! O0 }6 [8 @
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>4 `$ t8 Y1 L0 N5 p
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>9 V; T7 b( W5 B% e4 J u8 i( S: x
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
: q9 {# K. J6 \$ d2 N/ u& F<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>3 o% r) W- L& X; I1 M' `- U
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
' T# x8 @* V6 o% e! a1 x1 Y<DIV id=lrc style="DISPLAY: none"></DIV>
- r5 u/ k, X5 U<SCRIPT type=text/javascript>9 a% K: _8 O' _
document.domain="1ting.com";# o/ j) E. V: C1 F, J
var colorPasted="#666666";/ k3 y$ _4 r' m* H; T' R. ]
var colorPlaying="#ff3300";
! C4 u" N9 ^5 W( U- Q0 a. c( {, Ivar colorNormal="#000000";
$ s) E. O/ E1 r, ?- U$ = function (a,g){6 ?7 \9 \' m. B+ @8 F) r3 o+ i% h" V
var o = new Array(); 5 ]) u2 S5 _) o
var c = new Array();
) T* ]9 y2 y# J- o" I: ^ var r; 0 t( \7 x3 S9 z- q1 q( w# m5 F
var u;
2 s! U4 S/ l5 p9 }2 N1 i var a = a.split(';');
% o( C F( b. j5 T- r: p5 U4 N7 g: ]2 E4 n5 f ]
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");+ ?9 C( j4 k8 ]! d' l
for(var i=0;i<e.length;i++){
& G! Q) R7 l" A, s eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
* [2 M% w- f! f5 b( V, u a# W }4 H3 [6 G7 q+ I* s* ]
( K( U, M/ N9 t
after = function (t,d,s){
2 Y3 ~$ e; f- f( ^ $after = function (){
- x) i: ]$ @2 n- ~6 n' P+ l var $n=document.createElement(t);- W/ |- h, C7 S
if(d!=null){
5 E' P2 q5 r% X. P" `( U0 h $n.id=d; 8 |* u% v& h: Z! r" M' i3 _- |% D
}$ M& \, B+ w- Y1 L$ O( J* V
3 g; @5 _# i1 n' n$ o: ^
u.insertBefore($n,null) ( |2 {* @# [1 L- N
r = $n; 4 v5 O3 t1 d2 ^* M
u = $n; - A+ @( j. z1 a' u7 b; E
}' z/ o# x3 ]; @4 j9 j) [4 Y% I! G
$for(s,"$after")% B* ]5 Z! `* X t" Q' G; d" L
}0 u h, {* B. s& o; o/ E
" X8 Q I9 _1 ^% x9 ^
show = function (s){
( ]# C) z1 Z% z# G# x3 J $show = function (){
: \* U; F9 u( W u.style.display!="none" ? style("display:none") : style("display:block") ;
* i% N; |+ C, f( d+ n( n* m, [! {$ t8 ? }
) O* @' r3 l8 o% u& ~! T $for(s,"$show")# ~# [! q5 I5 X% F
}/ F( q+ J7 t0 E/ d) S/ K
5 P' n i% Q( S, W; n7 Q
check = function (t,s){5 g7 M; U5 T1 D
$check = function (){5 ]+ ~3 T" A# o$ K: Q
if(t=="2"){
3 V' C+ H0 p- p: k2 M8 w if(u.checked){" i6 J+ w/ g3 `% U$ a6 Q9 E4 Z+ V
u.checked = false;
, Q& x& h* }; _ }else{
' E: X5 z/ j) {9 J9 q u.checked = true;
! Z+ E: v, v. X1 ` o. D }2 ^& o$ B# A2 Y8 Q
}else{7 @) n) x4 R2 H2 p
u.checked = t*1 ;
- ~* V* I( C& m, n }4 @# z( a2 I% Q
}
# U4 k5 r% _7 z* A' W $for(s,"$check")
# I5 j t$ f3 W' p }/ `# |# A0 _" ^* n0 c3 s9 j9 X
* m, l( n( |. L6 b, t6 X! d
style = function (v,s){2 e9 s0 f& S' u; U
$style = function (){3 T- _) k5 q7 I
var $n = v.split(",")
% S1 |+ |7 }2 Z6 C5 }. T for (var i=0;i<$n.length;i++ ){
, V) O1 ~7 z8 A2 y- I- O) z var $m = $n<i>.split(":") : ?0 u' s: A$ Y/ \
eval("u.style."+$m[0]+"='"+$m[1]+"'");5 Y5 m! R) C, C \& m' \7 a% I" Q/ r
}
9 C; y' G- k, ? }
; H/ D. r% b9 d3 @* I+ Y" B6 { $for(s,"$style")# P; g. o {/ W! I3 F; P
}
% y0 X# l3 X+ O; W& s. `4 G. e6 A' Z5 M; X
value = function (v,s){1 V, Z. l" g& d' j" G; z
var $n= $this (v);
/ p& Y/ U" K" g1 z' C5 q1 r $value = function (){8 I0 U7 @' M4 k. h6 Q* M, {
u.value = $n- K; G/ h: a+ m5 _
}" |1 O& ~; o) X2 K, U' p1 b# }
$for(s,"$value") $ I( ?# K" I0 d1 C5 X0 J7 M
}
1 z0 j& W% j$ D ^3 U' N; j4 c& |9 _+ k* C9 p9 l
text = function (v,s){
5 s( w% {% q( x6 ~ var $n= $this (v);
; C& q; F7 @: V# Q# g- m W" ? $text = function (){
' K6 l5 \7 m4 x/ Z2 g8 A8 t
1 \2 u1 d7 a6 L1 G u.text = $n+ C' I! S0 b x) t
}; u( J, }- D9 N$ M$ y
$for(s,"$text")
3 ^3 v* d8 V; O* |, r }
2 V- A5 Y' `7 A1 y( @ {/ y1 A G
innerhtml = function (v,s){
' C/ W! i4 L9 h% R$ D1 r var $n= $this (v);
' ]* i1 T+ T- A2 q b $innerhtml = function (){
* `$ D" | ]" X; A4 s) E! G, r u.innerHTML = $n( i# L/ Y- D4 }9 N% e& @
}8 E) ~" t! C9 W; f4 t9 P/ Q' e$ g
$for(s,"$innerhtml")
) D' d! \7 ^7 a( N }
5 Z2 F. @' a6 k. F5 ` $ ~* |" }, ~& i l4 f0 X& E
removechild = function (s){
( m8 d0 e& R, L; z6 y $removechild = function (){
% C1 }7 U2 w# R7 n u.parentNode.removeChild(u)# y1 L7 m4 n5 P
}
1 i2 Y1 u" y( F: `% H$ Y( r+ } $for(s,"$removechild"). J4 r3 ^/ r- ~" q7 f) Z$ P
}4 O% _% C- {8 `
& v" b O ?5 [6 Y; v9 H2 P4 { $this =function(v){3 O$ f7 Y* E# c4 G7 i6 S
if(v.indexOf("this") == 0){$ z# h8 h; q% ~- k, b6 `: \
return eval(v.replace("this","u"))/ w s' u5 `! _& g3 d- E/ c9 Y
}$ r$ ~( K5 u1 z4 V
return v;' f- |# Z( Y7 ^, J' T
}. h0 `* v% x4 d# F& s
5 S4 ~# O4 E# n: E% @$ Z $event = function (s){" |1 e5 \$ L) w9 y+ f M' a
var $n ="u."+s+" = function(){$work(this,s);}"
% w B8 D. X! C+ Q9 ? return $n;
8 d. i4 E6 @& D; l }( h* Y8 N: m! J) ^3 }$ o: w
" f* S- Y0 r# g $replace = function (s){8 T A& G( b0 r" ~. \
: }& K' q0 |$ j7 b4 s# Z }. V$ n* [2 r3 m3 _
3 e# Y0 s& u$ T $for = function (s,c){
$ P) B: H5 {$ D% @- X$ V var $n="this."+c+"()" ;
U. @3 M2 s" V6 ] if(s!=null){
/ ?5 r+ @; F) Q s var $m =$test(s);
2 O- ?! r9 C! R4 n* N% Q5 T( W for (var i=0;i<$m.length ;i++ ){
, h: X! t7 U9 s u = $m<i>;$ h9 o; e* x. m
eval($n);
7 V: E k9 j. v. \* w }* l0 V3 i0 p$ h6 Y' o3 V
}
3 f0 f- f0 H& n3 v- Q* V else{; T0 ~/ f) K" s0 N) |) a/ I
eval($n);% s( @2 _* e/ e
}' ^8 G' f+ F1 Y5 e
}
, U/ T. _ z1 G8 @( ^$ j R
' O$ M. P/ ~/ F9 m P$ |8 D $test = function (a){, e! `/ h9 b8 [3 ?4 f
var o = new Array();$o(a.split(';'),o);4 Q$ ^& P: n* w6 J: b( `0 Z
return o;0 @; R2 f% v$ M& h! V5 x" f# K
}2 d. N# R A4 B
8 j( u2 g% S9 s8 E $format = function(s){
0 C0 p+ `$ U7 ^; F5 K while (s.indexOf("'")>0){
% ~# v: D/ B! V4 n2 h7 F9 _ s=s.replace("'","\"");
% R4 P( q2 W1 W7 N6 V6 {! _ }' ?0 Z% g- ~0 y: }% U8 e2 d
while (s.indexOf("][")>0){
~( c& @$ s1 K U( @3 H& M s=s.replace("][","','")( |) c$ L {6 O1 b6 j8 f
}, D) s( A' j+ Z$ n; j( v
while (s.indexOf("[")>0){0 ]3 h7 O' z, t" c3 R' y
s=s.replace("[","'").replace("]","'")* G6 R: x( b3 g2 m; I
} ; G4 N, N0 T) r* A- ^6 w
return s;2 V, U) [9 B. G( V* a* B3 x
}. z; V# g- A; m6 h' T5 {
0 x ?! \" c( m( Q; `3 _6 L; [ $work = function(w,s){4 u8 { F0 F' b# |0 Q+ b
u=w;eval(s)4 H) C; j* J0 [* [
}2 [7 j0 c* u& v
# M# U+ T3 u' |) h$ m
$id = function (s){9 k! I+ i& F Z
return document.getElementById(s);6 m9 _& T5 l) \( \5 A4 v
}& x( h, x8 w3 r e* I
& e/ j6 z" m" D& P/ [& ~, K# J# g' c $name = function (s){
$ I- M. D! f6 G2 B8 _5 v; k return document.getElementsByName(s);
" F! J: t" T/ d9 v- b+ h( f }
& a) l* y" A |. r7 _7 s; ?- z1 A- ~- h' a
$tagname = function (s){! b; a8 G0 r+ x5 f6 Q0 b
return document.getElementsByTagName(s);
+ K+ S, d- e. Y6 O; R& i" ^$ H) u }
: Y( [4 H- j; a/ c3 r( m6 e2 D! r: Z( Y2 v1 J
$o = function (a,o,c){
7 _! O" D" F9 }) p P, y( g) ` $push = function (n) {3 a! s- o- d3 w0 q, J
for (var i=0;i< n.length;i++ ){2 H7 [, _' Q( @
o.push(n<i>);0 ?, j; u ?/ P) W1 S
} $ i V X3 G& h* S" W/ z
}
2 L# X9 p5 x2 P9 I8 m9 @, u3 G6 Q for(var i=0;i<a.length;i++){
$ D! E: K* m& O6 Y/ Z7 P$ T if(a<i>.indexOf("(") >= 0){8 b0 F8 B9 k% T
c.push(a<i>);
3 C/ t$ j0 T# X1 K }+ t1 `7 I6 }! F! n6 [
if(a<i>.indexOf("~") > 0){
5 j- Z1 h" h+ f try {
% q9 f( J4 i0 P& z/ w+ M $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));+ E2 X7 o2 }( v$ k: ]4 y. d, H
}catch(e)! y+ i1 ?6 k6 P) a
{}
# N6 Z; Y: r0 Y$ B3 @# ` }- k2 L! F5 n; ]/ z2 i
else{! i/ [5 ~1 O7 A; H
if(a<i>.indexOf("#")==0){: [# S1 q* I: Y% {
o.push($id(a<i>.replace("#","")));
( o4 x2 P$ m4 ~! } }1 w/ R3 t% Q* l, d5 x
if(a<i>.indexOf(".")==0){/ U3 ^) x/ C5 k- w9 k8 o& L
$push($name(a<i>.replace(".","")));
4 l0 X) [+ V4 R5 q0 z* b }
8 W; v) z4 w7 {3 S6 ~5 h$ m6 d if(a<i>.indexOf("@")==0 ){4 c* g& N) ~' `: {' K
$push($tagname(a<i>.replace("@","")));' J6 {* D9 W2 y
}, \* V- I$ D! m1 l" X0 D( R
if(a<i>.indexOf("*")==0){! I4 k5 R; e3 M$ _. u8 i
$p= a<i>;* @- K; }( R/ y3 n+ s# n# t) f
if($p.indexOf(".")< 0){+ A, {$ Z1 _# R1 K; D. \" R
$p = $p.replace("parent","parentNode")/ c2 X% A5 B! W
}2 M% c% o( |1 F- z) M5 z
var $p ="u."+$p.replace("*","");9 t( g# V0 {. D, ?( m
while ($p.indexOf("parent.")> 0){
" K! |" K8 ?( U7 B( ] $p = $p.replace("parent.","parentNode.")
3 Y$ L) ~4 k4 R }
" Y2 q* `) J" A) \3 _: `3 f0 e while ($p.indexOf("child{")> 0){+ |% V1 J) x: g# b3 V/ n
$p = $p.replace("child{","childNodes[").replace("}","]")' u8 J% \/ F5 ?3 L9 A: d# H
}' ]9 l2 i* z7 ~+ k/ e0 s4 F( }% m
o.push(eval($p));
3 i: R+ B. ?) C. Z }
% s% A4 O, T5 T+ q2 `, g- u3 e if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
1 h( _/ O7 p: T+ R o.push(eval(a<i>));
" p( l. m( `$ E8 L }+ O; g% ~ f1 B4 @
}
. x' E* [3 E7 W$ D6 d4 Y- x# ? if(g!=null){
. `# e3 q, ^" c$ Q o.push(g);g=null& Z: i) E9 J& A0 t; N; l% s
} # E4 F7 \4 f. k5 j0 `3 d
}
/ K) K' e) l% q( ?' z- z7 d }2 ]9 V1 ?3 e& j) e
; L) I" I# ?& C5 S: g( d& g- @8 d $o(a,o,c);+ C& q* K1 j+ Z. j3 E
& r! H4 a4 g7 z9 q1 r) T
for(var i = 0;i<o.length;i++){% L0 N F7 z# P
for(var j=0;j<c.length;j++){
6 F8 H% r. w8 R- V+ r- x) n, g u = o<i>;eval($format(c[j]));
* g0 U# B( B9 T7 ?0 h/ g' Z- R }* b3 O' \/ h B6 W9 u
}
2 b4 _* a2 @% y- |( O6 k, B& ^ V& p; R4 ~5 ?
if(o.length == 0){
$ f, P& }, ]9 T2 {( j for(var i=0;i<c.length;i++){% f N5 ~2 S) c9 Z2 _) v
eval($format(c<i>));
" |$ |1 }3 y% l1 H }
- l" z9 x; ?: ~3 P" ~ }0 ^0 H. d2 {* }# B2 [- |
5 O, \, b0 r5 O% g0 H5 p
if(r!=null){
, j3 |6 L% I d, V% W# ?+ ] return r;' m. W8 _' E5 R$ t! K5 w
}$ _: E/ u8 k, n! F; L
2 S" ^' N. a6 ^: m if(o.length==1){
% [( _) O; W3 Z2 g/ N7 D return o[0];
* `; I0 a9 A/ h0 r; } ] }
- B- S( I: J; m( w else{
3 C4 ~# ]' @" p- @& R+ S return o# }3 Z% ]2 U% _: d+ v3 z, y
}
$ |' n1 `* K0 ]6 p b / R) u& y+ q) ~2 |; ]6 U. ?
}. Z z6 W. S) v4 `( ]5 h
var lrc =$("#lrc;show()").innerHTML.split("[");
- B" z4 D5 d! Y$ lif(lrc.length>5){7 t* [/ t: U$ S+ x; g
var array = new Array();
, ]: X. _: Z4 @- Vfor (var i=0;i<lrc.length ;i++ )# }3 c- U: E( i7 ]6 W9 r* }
{
- v2 J. M) S( K& ^! \ var g = new Object();5 Y& U5 ~# n4 R7 A) y J) g
t= lrc<i>.split("]");( r; O$ {- z- u2 X0 A D4 @+ a
g.time = getTime(t[0]);
0 w% b' X/ A$ n8 r* z0 K P if(isNaN(g.time))
- m/ R8 s3 v+ ^6 o continue;
& T$ i1 _# g0 y( ?, T. ?# R g.c = t[1];+ N/ n. A2 r9 M* q/ {- l% U U
if(g.c == "")$ X* _! `$ ~6 r# F: t3 x2 J- Q: T
g.c = getNext(i);: u& X7 `6 _7 z& J. ]
array.push(g);" \/ N a, E+ E
}
( p7 w/ M( n, D) N( @) G. o' harray.sort(function(x, y) {( V/ n' }; r [' X( \; F9 A
if (x.time>y.time)
! O* U7 I! u3 C8 g, R return 1;
8 o$ M9 U: S/ W) B* [: e) O" ^" T else if(x.time<y.time)
5 x3 b& A; _$ C0 ~& j% ]1 W return -1;
1 }: {8 P* j+ i2 ] else
/ h$ B C8 R, X* J0 c4 J$ G5 N# I5 x return 0;. j) w# |: ^7 M) q$ B b
} , i3 h+ n9 Z3 N8 U0 j5 U
);
& \1 V0 \1 {2 j* L1 ifor(var i = 0;i<array.length;i++)
) J4 c. m4 \; I' v{
6 C* b+ v( @ |; | B var g = array<i>;
7 H: u* P: H$ K& O if(!g.c){
# a9 k# Q/ A. q& n& Z5 @! J% e g.c="";7 k# Q2 M: X4 h8 M. l
}# v; J# ` K, K- l4 v2 k; M% B! O/ {! r
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";% C& D1 G7 }' u
}
; |; v. w* l5 T! kvar time = setInterval("lrcList()",500); * Y5 v( N: o+ n( A( ?
}else{
' |* Q# n, V; n $("#list").innerHTML=$("#lrc").innerHTML;. L, u% S( J2 b% s) ` J
}& z C' Z5 c) @1 ]8 H7 J
function getNext(i)
% z- R9 @+ f4 Z{$ @" O+ N9 X! H% A/ F" @
var result = ""; K8 Y0 E3 I: v( i5 v+ i
var i = i+1;6 a% L/ z: H# q8 M0 R' j- o& P; }- n% A
t = lrc<i>.split("]");
. F2 S% G1 v2 h+ a( x if(t[1]=="")
; a! r* s/ j. J) h- ^ result = getNext(i);
6 x" W% s7 l/ U; d2 s" }2 O" z& S else: _# i& }9 ]0 h+ R! V
result = t[1]# }- W4 w! N o
return result;
- x. W! \5 g9 v, @2 ?}# c6 g& o/ s5 g4 b& H5 b( P5 q/ b. f
' Q$ Z2 } h3 M, X: G5 pfunction getTime(str)/ {$ `# V- R+ Y$ h4 m
{
; ^. n1 m6 R2 \3 |; G) [# { var time =0;. m- R) }; Z* m7 v- b1 x! V
var ta = str.split(":");
h9 V2 T$ u3 v% b( ` if(ta.length<2)7 A+ H4 ]4 ]! r/ w
return time;
# n% C1 n# j3 M8 g: L5 t$ t$ e# w |: s( v' m; z6 C
if(ta[1].indexOf(".")>0){7 m$ d% x, G+ b' X% B y8 r; F
var tb = ta[1].split(".");
3 G9 z+ i1 B. j$ s5 v time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
% { c3 e; v' C V: T# P }+ N/ y! F+ Z+ P; I! m
else
# h2 E' S, @4 X; K time =ta[0]*60*1000+ta[1]*1000;6 W& Y' Y1 ]8 ]
return time;
% |' d: h5 Q5 a7 b! w7 L8 {}8 g) [. X8 ~4 i( `# c. r$ R; b
var preTime = 0;
( L8 s" O# |" n$ }* yvar nextTime = 0;
* u% K% n' O( Z) Ivar currIndex =0;& I5 T* q( h4 v8 e
function lrcList(){% i: v- B4 s4 i, y
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
' c: Q6 W7 c; p1 G s = s*1000;2 B% o" [; k1 h4 R5 n% o8 U
if(s==0){& m* \ H8 o B1 Y+ X7 @% `
currIndex =0;# J+ k+ R* t1 |+ E0 ~4 R2 W
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
1 Q; M* [9 E) n$ Q8 d+ R* P6 I for(var i=0;i<array.length;i++){
& y% O4 n/ @2 F# l$ \ document.getElementById("lrc"+i).style.color=colorNormal;
, \# k; t. j5 m }
7 V% n# S$ a: |3 t0 I& ^" H* [ return;% p+ [- z6 R4 u. m. o
}/ r. |( b& Q8 _7 l$ K# S
if(s>0&&currIndex<array.length-1)
; D/ B! F# N- b @# T4 M {
& ], u0 X- p0 s" O1 }7 L/ x; Z preTime = array[currIndex].time;3 f. Q7 L6 ^' c5 F5 Z
6 f4 o; j/ }% t# ^) s
nextTime = array[currIndex+1].time;, E8 U$ g. c5 ]) A! c, J# C- p
3 x2 {! Q! T. ]- ?( ]
if(s>=preTime&&s<nextTime){7 {+ u7 D. D' M& o- l, I H, l$ ~
}+ k" @/ x9 Z, Y. q
else if(s>=nextTime)
. X7 g) y1 s. X! p {/ T! p9 `: k5 v2 L( N; X9 i
document.getElementById("lrc"+currIndex).style.color=colorPasted;
+ O. R) S, z; G4 m currIndex++;+ K: h0 ~6 r# l. D( p
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
- d! m' f! }$ L/ z) t document.getElementById("lrc"+currIndex).style.color=colorPlaying;
0 p/ {; N5 O* a- H _1 @% Y6 c lrcList();
1 v; R7 z E9 h+ _% P Z) e/ y }* C# Y3 v8 ~7 A1 x. V, k
else{
( c4 R5 a& M" o% K document.getElementById("lrc"+currIndex).style.color=colorNormal;
/ ]3 E% M4 U5 |- R currIndex--;$ S! X. r% ]- U7 N. |/ S
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 _$ W( B# g3 P+ G+ l document.getElementById("lrc"+currIndex).style.color=colorPlaying;
0 P T5 R* s/ Y3 B# D lrcList();4 @0 H7 Q2 S* |+ C' b
}
| _& i) [/ a5 O7 |+ Q }: W6 n4 r% J* |: a! k$ K2 R9 g0 Z
else
3 c, u1 e/ x% q& O6 A4 A! A" e {
; e1 A8 v* @. C/ x if(s<array[array.length-1].time){6 s |4 |4 q9 z
currIndex = 0;# u9 J) L% f! } V8 `
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) ?: H- a; N) e for(var i=0;i<array.length;i++){
% @7 O5 o4 }8 V8 N8 ?" m document.getElementById("lrc"+i).style.color=colorNormal;) v' _. B8 K! W; k U4 G/ S# f) L
}: f9 X8 i: V; m9 ~7 k% G; M- x' M# i
lrcList();
; h6 D. [+ p# N/ j+ i }6 K, g5 Z& n/ o% O" z5 P
}
# b& e7 \7 M I! A5 L) W+ W& Y}9 ^6 z* B/ L4 A! U5 P* }
</SCRIPT>
; C' K$ M* n' Q( I</DIV></DIV>
) }1 x& ?# S" P: z3 _( M% T, z/ G3 d" z/ [
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|